package com.ruoyi.system.service;


import com.ruoyi.system.domain.SysAuth;

import java.util.List;

/**
 * @author renzhihao
 * @date 2023/10/12 15:58
 */
public interface ISysAuthService {

    List<SysAuth> selectAuthList(SysAuth sysAuth);

    int insertAuth(SysAuth sysAuth);

    SysAuth selectAuthById(Long authId);

    int updateAuth(SysAuth sysAuth);

    int changeStatus(SysAuth sysAuth);

    int copyByIds(String ids);

    int deleteAuthByIds(Long[] ids);

    List<SysAuth> getEnabledAuthWay();

    SysAuth getAuthWayByClientName(String clientName);

    List<SysAuth> selectByIds(Long[] authIds);

    boolean checkAuthNameUnique(SysAuth sysAuth);

    boolean checkClientNameUnique(SysAuth sysAuth);

    boolean checkMetadataFilenameUnique(SysAuth sysAuth);

    boolean existByKeystoreIds(Long[] keystoreIds);
}
